package com.gugee.ins.common.dal.service.statistics.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gugee.ins.common.dal.mapper.statistics.InsStBloggerRealFollowingMapper;
import com.gugee.ins.common.dal.service.statistics.InsStBloggerRealFollowingDao;
import com.gugee.ins.common.dto.InsBloggerFollowerTypeDto;
import com.gugee.ins.common.model.mysql.statistics.InsStBloggerRealFollowing;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class InsStBloggerRealFollowingDaoImpl extends ServiceImpl<InsStBloggerRealFollowingMapper, InsStBloggerRealFollowing> implements InsStBloggerRealFollowingDao {


    @Override
    public InsStBloggerRealFollowing findByUid(long uid) {
        return baseMapper.findByUid(uid);
    }

    /**
     * 查询获取粉丝样本数，大量关注者数，可疑账户数
     * @param uid
     * @return
     */
    @Override
    public InsBloggerFollowerTypeDto findFollowerAndZombieByUid(long uid){
        return baseMapper.findFollowerAndZombieByUid(uid);
    }
}
